
<div class="pad-10" >

	<div class="navigate">
		<h1>礼券类型列表</h1>
  	</div>
  	
    <div class="table-list">
    <table width="100%" cellspacing="0">
        <thead>
            <tr>
                <th style="width:40px;">类型编号</th>
                <th style="width:60px;">礼券类型</th>
                <th style="width:60px;">礼券名称</th>
                <th style="width:40px;">礼券金额</th>
                <th style="width:80px;">最小使用订单商品金额</th>           
                <th style="width:60px;">备注</th>
                <th style="width:90px;">开始日期</th>
                <th style="width:90px;">线束日期</th>
				<th style="width:90px;">创建时间</th>
				<th style="width:30px;">状态</th>
                <th style="width:60px;">操作</th>
            </tr>
        </thead>
    	<tbody>
        <volist name="bonusTypes" id="b" >
        <tr>
        	<td class="tc">{$b.id}</td>
            <td class="tc">{$b.type_name}</td>
            <td class="tc">{$b.bonus_name}</td>
            <td class="tc">{$b.bonus_money}</td>
            <td class="tc">{$b.min_goods_amount}</td>
            <td class="tc">{$b.remark}</td>
            <td class="tc">{$b.begin}</td>
            <td class="tc">{$b.end}</td>
            <td class="tc">{$b.created}</td>
            <td class="tc">
            	<if condition="$b.disabled eq 1">
				<span class="color-red">禁用</span>
				<else />
				<span class="color-green">启用</span>
				</if>
            </td>
            <td class="tc">
	            <a class="blue" href="/index.php/Admin/Bonus/send?id={$b.id}">发放</a>
	            <br />
	            <a class="blue" href="/index.php/Admin/Bonus/view?id={$b.id}">查看</a>
	            <br />
	            <a class="blue" href="/index.php/Admin/Bonus/detail?id={$b.id}">编辑</a>
            </td>
        </tr>
        </volist>
    	</tbody>
    </table>

    </div>

</div>
